package com.ljx.recruitment.interview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.recruitment.interview.domain.entity.JobProcess;
import com.ljx.recruitment.interview.domain.vo.req.JobProcessSubmitReq;

import java.util.List;
import java.util.Map;

public interface JobProcessService extends IService<JobProcess> {
    void saveByReq(JobProcessSubmitReq req, int newCount);

    void deleteByReq(JobProcessSubmitReq req, int nowCount);

    List<JobProcess> getProcessByJobId(Long jobId);

    Map<Long, Map<Integer, List<JobProcess>>> getProcessMapByJobIds(List<Long> jobIds);
}
